<style>
	#ebiz-container {width: 900px;height: 100px;background-color: #fff; font-family: Verdana; border:none; padding-left:2px; margin-top:10px;}
	#ebiz-container .products {width: 900px;height: 100px;margin:0 auto;}
	#ebiz-container .products .item { text-align: left; margin:0;padding:5px; width: 300px;background-color: #FFF; float: left;}
	#ebiz-container .products .item a { font-weight:bold;}
    #ebiz-container .products .item a:hover { text-decoration:none;}
	#ebiz-container .products p { margin: 0px; padding: 0px;}
	#ebiz-container .products .item p.price { padding-left:15px;}
    #ebiz-container .products .item p.price a {color: #0000EE; font-size: 11px; font-weight: bold;}
</style>

<div class="iframe-shoponsite-123mua-top" style="width:1000px;">Tin rao vặt cùng người đăng</div>
<div id="iframe-shoponsite-123mua" style="width:978px;">
  <div id="ebiz-container">
		<div class="products"> 
			<? 
				$rs = $db->query("SELECT * FROM ".$prefix."raovat WHERE rv_nguoidang = '".$u_id."' AND rv_id != '".$rid."' AND rv_hienthi = 1 LIMIT 9");
					
					while($row = $db->fetch_array($rs)){
					$rv_id = $row[rv_id];
					$rv_tieude = $myString->unQuote(stripslashes($row[rv_tieude]));
					$rv_ngaydang = format_date($row[rv_thoigian]);					
			?>		
			
			<div class="item" style="margin-left: 10px;">
                <a target="_blank" title="<?=$rv_tieude?>" href="<?=$root?>/chi-tiet-rao-vat/<?=$rv_id?>/<?=$myString->vietdecode($rv_tieude)?>">
                   <img src="<?=$root?>/themes/images/icon/star.gif" border="0"/> <?=$rv_tieude?>
                </a>               
				<p class="price">
            		<i><?=$rv_ngaydang?></i>
				</p>
            </div>
			<? } ?> 
         
        </div>   
    </div>                       
</div>